package com.bishe.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2024-03-04 14:00:14
 */
@Data
@ApiModel("用户")
@TableName("user")
@EqualsAndHashCode(callSuper = false)
public class User extends Model<User> {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String userName;

    private String nickName;

    private String pwd;

    private String phone;

    private String email;

    private String sex;

    private Integer age;

    private String type;

}

